Merged
Conversation
6dc1d1e to
f622fff
Compare
ronag
added a commit
that referenced
this pull request
Mar 22, 2026
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
f622fff to
b57fa1f
Compare
ronag
added a commit
that referenced
this pull request
Mar 22, 2026
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
b57fa1f to
b739413
Compare
ronag
added a commit
that referenced
this pull request
Mar 22, 2026
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
b739413 to
5690750
Compare
Member
|
CI does not seem happy |
ronag
added a commit
that referenced
this pull request
Mar 22, 2026
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
5690750 to
ddbc9cd
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #62390 +/- ##
==========================================
+ Coverage 89.72% 89.80% +0.08%
==========================================
Files 695 699 +4
Lines 214464 216422 +1958
Branches 41067 41384 +317
==========================================
+ Hits 192420 194360 +1940
- Misses 14106 14146 +40
+ Partials 7938 7916 -22
🚀 New features to boost your workflow:
|
jasnell
reviewed
Mar 22, 2026
| ``` | ||
|
|
||
| ### `buf.includes(value[, byteOffset][, encoding])` | ||
| ### `buf.includes(value[, byteOffset[, end]][, encoding])` |
Member
There was a problem hiding this comment.
When we start getting into new optional arguments in the middle like this I think we should consider an alternative signature with an options bag instead...
buf.includes(value, {
byteOffset: 0,
end: 10,
encoding: 'utf8',
});
Contributor
Failed to start CI⚠ Commits were pushed since the last approving review: ⚠ - buffer: add end parameter ✘ Refusing to run CI on potentially unsafe PRhttps://github.com/nodejs/node/actions/runs/23542726197 |
Contributor
|
There's a conflict to solve |
ronag
added a commit
that referenced
this pull request
Apr 4, 2026
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
ddbc9cd to
c4aecb4
Compare
To limit how far into the buffer we search without allocating an unnecessary subarray. Signed-off-by: Robert Nagy <[email protected]>
999b453 to
fd6b746
Compare
Collaborator
Commit Queue failed- Loading data for nodejs/node/pull/62390 ✔ Done loading data for nodejs/node/pull/62390 ----------------------------------- PR info ------------------------------------ Title buffer: add end parameter (#62390) Author Robert Nagy <[email protected]> (@ronag) Branch ronag:buffer-index-of-end -> nodejs:main Labels buffer, c++, semver-minor, author ready, needs-ci, review wanted Commits 1 - buffer: add end parameter Committers 1 - Robert Nagy <[email protected]> PR-URL: https://github.com/nodejs/node/pull/62390 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/62390 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Sun, 22 Mar 2026 09:53:58 GMT ✔ Approvals: 2 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/62390#pullrequestreview-4067847074 ✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/62390#pullrequestreview-4092335147 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2026-04-11T10:37:41Z: https://ci.nodejs.org/job/node-test-pull-request/72624/ ⚠ Commits were pushed after the last Full PR CI run: ⚠ - buffer: add end parameter - Querying data for job/node-test-pull-request/72624/ ✔ Build data downloaded ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/24286987028 |
Collaborator
Collaborator
|
Landed in f2fda60 |
Member
|
Security: This should not land on a release without a fix for #62873 |
Member
|
Adding dont-land-on-* as a temporary precaution, can be removed once #62873 is fixed. Upd: |
Member
Author
|
Fixed by #62711 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To limit how far into the buffer we search without allocating an unnecessary subarray.